<h2><?= $this->category['name'] ?></h2>

<?php if (!empty($this->category['description'])): ?>
	<div class="description">
		<?= $this->e($this->category['description']) ?>
	</div>
<?php endif ?>

<div id="products">
	<?php foreach ($this->products as $product): ?>
	
		<div class="product">
			<a href="<?= $this->routeUrl('product_detail', array('slug' => $product['slug'])) ?>">
				<!-- <img src="" alt="<?= $this->e($product['title']) ?>"> -->
				<span class="title"><?= $this->e($product['title']) ?></span>
				<span class="price"><?= $this->currency($product['price']) ?></span>
			</a>
		</div>

	<?php endforeach ?>
</div>

<?= $this->paginationControl($this->products) ?>